package com.by.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;

@Data
@ApiModel("部门")
public class Departments {


    @ApiModelProperty("部门id，修改时不允许为空！")
    int department_id;
    @ApiModelProperty("部门名称")
    String department_name;
    @ApiModelProperty("上级部门的ID")
    int parent_department_id;
    @ApiModelProperty("部门状态，1 启动\n" +
            "2 禁止")
    int statys;



    @Valid
    Employess employees;

}
